package FinalTest04;

public class Circle {
    double r = 10;
    private double pai;
    double s = pai * r * r;

    public static void main(String[] args) {
        Circle circle = new Circle();
    }
    public void area(){
        double pai = 3.14;
        double s = pai * r * r;
        System.out.println("面积为:" + s);
    }
}
